import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '../components/login.vue'

Vue.use(VueRouter)

const routes = [
	/* 当访问/login路径的时候，跳转到Login组件 */
	{path:'/login',component: Login }
]

const router = new VueRouter({
  routes
})

export default router
